function [ result ] = CAfunction( file )

%% A script for running saliency computation

%% load parameters and images


file_names{1} = file;
file_names{2} = file;
img = imread(file);
[m,n,o]= size(img);
MOV = saliency(file_names);


%% display results
% N = length(MOV);
% for i=1:N
%     figure(i); clf;
%     subplot(1,2,1); imshow(MOV{i}.Irgb); title('Input','fontsize',16);
%     subplot(1,2,2); imshow(MOV{i}.SaliencyMap); title('Saliency map','fontsize',16);
% end    
result = MOV{1}.SaliencyMap;
result = imresize(result,[m n]);
end

